CXXFLAGS = -O2

all: Makefile
	$(CC) smjoin/smclock.c -o bin/smclock
	$(CC) smjoin/smjoin.c -o bin/smjoin
	$(CC) smjoin6/smclock6.c -o bin/smclock6
	$(CC) smjoin6/smjoin6.c -o bin/smjoin6
	$(CC) smrec6/smsnd6.c -o bin/smsnd6
	$(CC) smrec6/smrec6.c -o bin/smrec6
	chmod +x bin/*
clean:
	rm -f bin/*
